package ooday02.demo.practice01;

public class AninmaiTest {
    public static void main(String[] args) {
        Dog dog1=new Dog("小黑",2,"黑");
        dog1.eat();
        dog1.lookHome();
        dog1.drink();

        Chick chick1=new Chick("花花",3,"黄");
        chick1.eat();
        chick1.drink();
        chick1.layEgg();

        Fish fish1=new Fish("雯雯",1,"红");
        fish1.eat();
        fish1.drink();
    }
}
